/* const express = require('express');
const app = express(); */
const app = require("express")();
app.set("view engine", "ejs");
app.get("/", (req, res) => {
    // res.send("xx");
    res.render('index', {
        foo: 'houbang',
        arr: ['足球', '篮球', '乒乓球'],
        flag: false
    });
});
app.listen(3000, () => {
    console.log("server启动");
});